<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

<select multiple="multiple" class="userselect" style="width:250px;height:200px">
<%  int iCount = 0;
   foreach (KeyValuePair<Guid, string> user in (Dictionary<Guid,string>)ViewData.Model)
  {
      iCount++;
    %>
    <option value='<%=user.Key %>'><%=user.Value %></option>
    <%
  }
   if (iCount == 0)
   {
  %><option value="-2">no user available</option><%} %>
</select>